//
//  UIColor+Util.h
//  XQBluetooth
//
//  Created by 包月兴 on 16/6/17.
//  Copyright © 2016年 包月兴. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIColor (Util)
//16进制颜色
+ (UIColor *)colorWithHexString:(NSString *)hexString;
+ (UIColor *)colorWithHexString:(NSString *)hexString alpha:(CGFloat)alpha;

//RGB颜色
+ (UIColor *)colorWith8BitRed:(NSInteger)red green:(NSInteger)green blue:(NSInteger)blue;
+ (UIColor *)colorWith8BitRed:(NSInteger)red green:(NSInteger)green blue:(NSInteger)blue alpha:(CGFloat)alpha;
@end
